//
//  savingDeCell.m
//  SUZHOUBANK
//
//  Created by apple on 16/4/19.
//  Copyright © 2016年 RuiFeng-WGCC. All rights reserved.
//

#import "savingDeCell.h"

@implementation savingDeCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self.contentView addSubview:self.titleLab];
        [self.contentView addSubview:self.descLab];
    }
    return self;
}

#pragma mark *** Getter ***
- (UILabel *)titleLab {
    
    if (!_titleLab) {
        _titleLab = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.contentView.bounds.size.width, 40)];
        _titleLab.textAlignment = NSTextAlignmentLeft;
        _titleLab.font = [UIFont boldSystemFontOfSize:20];
        _titleLab.textColor = [UIColor blueColor];
    }
    return _titleLab;
}

- (UILabel *)descLab {
    
    if (!_descLab) {
        _descLab = [UILabel new];
        _descLab.font = [UIFont boldSystemFontOfSize:15];
        _descLab.numberOfLines = 0;
    }
    return _descLab;
}
@end
